package com.example2;

import java.util.Scanner;

/**
 * @author Yancy
 * @program springioctest
 * @create 2020-08-28
 */
public class Temperature {
  // 华氏温度与摄氏温度的关系F=(9/5) C+32

  public static void main(String[] args) {
    //
      Scanner scanner = new Scanner(System.in);
      System.out.println("请输入一个数：");

      double fNumber = scanner.nextDouble();

      double cNumber= (fNumber-32)*5/9;
  }
}
